<div class="row animated" ng-class="{true: 'fadeInRight', false:'fadeInLeft'}[currentAnimated]">
  <div class="col-xs-12 col-md-12">
    <div class="panel panel-default">
      <div class="panel-heading">
        <a ng-click="discard()" href="javascript:;"><i class="backBtn fa fa-arrow-circle-left"></i></a>
        <span class="panelTitle" ng-bind="Form.title"></span>
      </div>
      <div class="panel-body">
        <form novalidate role="form" name="commentForm" class="form-horizontal">
          <div class="form-group" ng-class="{'has-error': commentForm.content.$invalid && commentForm.content.$dirty}">
            <label class="col-xs-3 col-md-2 control-label">回复内容：</label>
            <div class="col-xs-7 col-md-8">
              <input type="text" name="content" class="form-control" placeholder="回复内容" ng-model="reply.content" required>
            </div>
            <div class="col-xs-2 col-md-2" ng-show="commentForm.content.$dirty && commentForm.content.$invalid">
              <span class="text-danger" ng-show="commentForm.content.$error.required">请输入回复内容</span>
            </div>
          </div>
          <div class="col-xs-offset-2 col-md-offset-2 col-xs-offset-10 col-md-offset-10">
            <button class="btn btn-primary" type="submit" ng-click="submitForm()"  ng-disabled="commentForm.$invalid">保存</button>
            <button class="btn btn-white" ng-click="discard()">取消</button>
          </div>
        </form>
      </div>
    </div>    
  </div>
</div>